package com.atguigu06.polymorphism.exer3;

/**
 * ClassName: Student
 * Package: com.atguigu06.polymorphism.exer3
 * Description:
 *
 * @Author ZY
 * @Create 21:19
 * @Version 1.0
 */
class Student extends Person{
    protected String school="pku";

    public String getInfo(){
        return "Name: " + name + "\n" + "age: " + age +
                "\n" + "school: " + school;
    }
}
